package com.wxy.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wxy.domain.User;
import com.wxy.domain.jwtUser;
import com.wxy.domain.user2;

@Mapper
public interface userMapper extends BaseMapper<User>{
	@Select("select * from user")
	public List<User> findAll();
	@Select("select * from user where id=#{id}")
	public User findById(int id);
	@Select("select * from user where username=#{username} and password=#{password}")
	public User findJwtUser(jwtUser user);
}
